var ApiFactory = require('lib/ApiFactory')

module.exports = ApiFactory({
  url:function(params){
    return BlueWare.urlPrefix+(params.appId?'/app/'+params.appId:'')+'/basicinfo/'+params.urlName+'.json'
  },
  optionParams:['appId','urlName'],
  params:{
    appId:{
      defaultValue:BlueWare.appId
    },
    urlName:{},
    id:{},
    parentId:{}
  }
})
